package com.cddx.logistics.service;

import com.cddx.logistics.domain.dto.QueryDTO;
import com.cddx.logistics.domain.pojo.Department;
import com.cddx.logistics.domain.pojo.Role;
import com.cddx.logistics.domain.vo.SelectObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {
    boolean addDepartment(Department department);

    boolean updateDepartment(Department department);

    boolean deleteDepartment(Integer id);

    PageInfo <Department>queryPage(QueryDTO queryDTO);

    List<SelectObject> queryAll();

    boolean deleteIds(Integer[] ids);
}
